/*** 
 * @Author: Colin Dai
 * @Date: 2022-05-09 19:12:17
 * @LastEditors: Colin Dai
 * @LastEditTime: 2022-05-10 13:33:50
 * @FilePath: /jy-uos/src/softbus/discovery/discovery_service/include/discovery_error.h
 * @Description: 
 * @dailianzheng@163.com
 * @Copyright (c) 2022 by Colin.Dai, All Rights Reserved. 
 */
#ifndef _DISCOVERY_ERROR_H_
#define _DISCOVERY_ERROR_H_

#ifdef  _cplusplus
extern "C" {
#endif

#define ERROR_SUCCESS  0
#define ERROR_FAIL     -1
#define ERROR_INVALID  (-2)
#define ERROR_NONEXIST (-3)
#define ERROR_NOMEMORY (-4)
#define ERROR_CAPABLITY_FAIL (-5)
#define ERROR_SERVICEDATA_FAIL (-6)
#define ERROR_CREATE_SOCKET_FAIL (-7)
#define ERROR_CONNECT_SOCKET_FAIL (-8)
#define ERROR_BIND_SOCKET_FAIL (-9)
#define ERROR_GET_SOCK_FAIL (-10)
#define ERROR_CREATE_THREAD_FAIL (-10)
#define ERROR_NOT_SUPPORT_MEDIUM (-11)

#ifdef __cplusplus
}
#endif

#endif 

